<nav class="navbar-default navbar-static-side" role="navigation">
    <div class="sidebar-collapse">
        <ul class="nav" id="side-menu">
            <li class="nav-header">
                <div class="dropdown profile-element">
                    <span>
                        <img alt="image" class="img-circle" src="{{ static('images/default_avatar.png') }}">
                             </span>
                    <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                                <span class="clear">
                                    <span class="block m-t-xs"> <strong
                                            class="font-bold">{{ g.user.name }}</strong>
                             </span> <span class="text-muted text-xs block">超级管理员 <b class="caret"></b></span> </span>
                    </a>
                    <ul class="dropdown-menu animated fadeInRight m-t-xs">

                        <li><a href="/admin/loginout">安全退出</a>
                        </li>
                    </ul>
                </div>
                <div class="logo-element">
                    H+
                </div>
            </li>
            <li class="{% if admin_nav==1 %}active{% endif %}">
                <a href="#"><i class="fa fa-home"></i> <span class="nav-label">主页</span> <span
                        class="fa arrow"></span></a>
                <ul class="nav nav-second-level collapse" aria-expanded="false" style="height: 0px;">
                    <li><a href="/admin/site_info">站点设置</a>
                    </li>

                </ul>
            </li>
            <li class="{% if admin_nav==2 %}active{% endif %}">
                <a href="#"><i class="fa fa-male"></i> <span class="nav-label">用户管理</span> <span
                        class="fa arrow"></span></a>
                <ul class="nav nav-second-level collapse" aria-expanded="false" style="height: 0px;">
                    <li><a href="/admin/userlist">用户列表</a></li>

                    <li><a href="/admin/adduser">添加用户</a></li>
                </ul>
            </li>

            <li class="{% if admin_nav==3 %}active{% endif %}">
                <a href="#"><i class="fa fa-th-large"></i> <span class="nav-label">投顾管理</span> <span
                        class="fa arrow"></span></a>
                <ul class="nav nav-second-level collapse" aria-expanded="false" style="height: 0px;">
                    <li>
                        <a href="/admin/modal_list">模型管理</a>

                    </li>

                    <li>
                        <a class="J_menuItem" href="/admin/add_tougu_product" data-index="23">添加产品</a>
                    </li>
                    <li>
                        <a class="J_menuItem" href="/admin/tougu_product_list" data-index="24">产品列表</a>
                    </li>
                </ul>
            </li>
            <li class="{% if admin_nav==4 %}active{% endif %}">
                <a href="#"><i class="fa fa-th-large"></i> <span class="nav-label">产品管理</span> <span
                        class="fa arrow"></span></a>
                <ul class="nav nav-second-level collapse" aria-expanded="false" style="height: 0px;">
                    <li><a href="/admin/product_list">产品列表</a></li>
                    <li><a href="/admin/add_product">产品发布</a></li>
                </ul>
            </li>
              <li class="{% if admin_nav==5 %}active{% endif %}">
                <a href="/admin/zhuzibao"><i class="fa fa-th-large"></i> <span class="nav-label">注资宝</span> <span
                        class="fa arrow"></span></a>

            </li>
            <li class="{% if admin_nav==6 %}active{% endif %}">
                <a href="#"><i class="fa fa-th-large"></i> <span class="nav-label">订单管理</span> <span
                        class="fa arrow"></span></a>
                <ul class="nav nav-second-level collapse" aria-expanded="false" style="height: 0px;">
                    <li><a href="/admin/orders?type=paid">已支付的订单</a></li>
                    <li><a href="/admin/orders?type=not_pay">未支付的订单</a></li>
                </ul>
            </li>


        </ul>

    </div>
</nav>